package com.observe.pattern.service;

import com.observe.pattern.event.EventManager;
import com.observe.pattern.event.MQEventListener;
import com.observe.pattern.event.MessageEventListener;

/**
 * @author cc
 * @classname LotteryServiceImpl
 * @description 业务流程的实现 没有额外的辅助流程，只有核⼼流程的处理
 * @date 2022/3/29 13:35
 */
public class LotteryServiceImpl extends LotteryService{
    @Override
    public String doDraw(String uid) {
        //主业务
        System.out.println("用户"+uid+"摇号");
        return "摇号完成";
    }
}
